package com.xxx.video.dynamic.presenters;

import com.xxx.video.commen.presenters.IBaseView;
import com.xxx.video.dynamic.beans.FriendListBean;
import com.xxx.video.mine.beans.DynamicListBean;

public interface IDynamicView extends IBaseView {
    /**
     * init list
     */
    void initList();

    /**
     * init people nearby list
     *
     * @param page
     */
    void initPeopleNearbyList(FriendListBean.PageBean page);

    /**
     * init recommend friend list
     *
     * @param page
     */
    void initRecommendFriendList(FriendListBean.PageBean page);

    /**
     * start my friend activity
     */
    void startMyFriendActivity();

    /**
     * start people nearby activity
     */
    void startPeopleNearbyActivity();

    /**
     * start recommend friend list activity
     */
    void startRecommendFriendActivity();

    /**
     * start add contact friends list activity
     */
    void startAddContactsFriendsActivity();

    /**
     * start person info activity
     *
     * @param userId user Id
     */
    void startPersonInfoActivity(String userId);

    /**
     * init data to view
     *
     * @param successOb data
     */
    void initData2View(DynamicListBean successOb);

    /**
     * get location
     */
    void initLocation();

    /**
     * start video details activity
     * @param videoId video id
     */
    void startVideoDetailsActivity(String videoId);
    /**
     * add friend success
     *
     * @param position position
     * @param type
     */
    void addFriendSuccess(int position, int type);

}
